﻿@model lucienneCRMApp.Models.ContactUs

@{
    ViewBag.Title = "Contact Us";
}


<h2>Contact Us</h2>

<script type="text/javascript">
    function Initialize() {
       var latlng = new google.maps.LatLng(ll = 36.05303, 14.18884);
        var options = {
            zoom: 14,
            center: latlng,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        }
        var map = new google.maps.Map(document.getElementById("map_canvas"), options);
        //show location

        var image = "../../Content/Image/pin.png";
        var myLatLng = new google.maps.LatLng(ll = 36.05303, 14.18884);
        var beachMarker = new google.maps.Marker({
            position: myLatLng,
            map: map,
            icon: image
        });
    

    }

    $(function () {
        Initialize();
    });
</script>
<script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script>
<div id="map_canvas" style="width: 400px; height: 300px; float:right"></div>


            <fieldset>
            <legend>Send us a Message!</legend>
             @using (Html.BeginForm())
             { 
                @Html.ValidationSummary()
                <p>First Name:</p>
                <p>@Html.TextBoxFor(m => m.CName)</p>
                <p>Email:</p>
                 <p>@Html.TextBoxFor(m => m.CEmail)</p>
                <p>Message:</p>
                <p>@Html.TextAreaFor(m => m.Message, new { @cols = 80, @rows = 10 })</p>
                <input type ="submit" value="Submit" />
             }
            </fieldset>

            

    